//对外暴露配置路由（常量路由）
export const constRoute=[
    {
      path:'/login',
      component:()=>import('@/views/login/index.vue'),
      name:'login'//命名路由，以后做路由权限的时候会用到
    },
    {
      path:'/',
      component:()=>import('@/views/home/index.vue'),
      name:'layout'
    },
    {
      path:'/404',
      component:()=>import('@/views/404/index.vue'),
      name:'404'
    },
    //任意路由，当没有匹配的路由时，匹配这个路由
    {
      path:'/:pathMatch(.*)*',
      //重定项，跳到404
      redirect:'/404',
      name:'Any'
    }

  ]
